<form action="/game_runnings/pre_gamepanel" method="post">
Select A Game :
<select name="gencode">
<%@games.each do |g|%>
  <option value="<%=g.gencode%>"><%=g.name%>[<%=g.gencode%>]</option>
<%end%>
</select>
<input type="submit" value="Select"/>
</form>